package cn.com.b2office.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @author wangtao.upc@gmail.com
 * @hibernate.class table="operation" lazy="false"
 */
public class ExData implements Serializable {

	private static final long serialVersionUID = -922471391553744655L;

	public static final int INSERT = 1;

	public static final int UPDATE = 2;

	public static final int DELETE = 3;

	private int exId = 0;

	private int operation = -1;

	private String entityId = null;

	private int entity = -1;

	private Date modifytime = null;

	private Serializable object = null;

	/**
	 * 
	 * @return entity
	 * @hibernate.property column="entity" type="java.lang.Integer"
	 */
	public int getEntity() {
		return entity;
	}

	public void setEntity(int entity) {
		this.entity = entity;
	}

	/**
	 * 
	 * @return entityId
	 * @hibernate.property column="entity_no" type="java.lang.String"
	 */
	public String getEntityId() {
		return entityId;
	}

	public void setEntityId(String entityId) {
		this.entityId = entityId;
	}

	public Serializable getObject() {
		return object;
	}

	public void setObject(Serializable object) {
		this.object = object;
	}

	/**
	 * 
	 * @return operation
	 * @hibernate.property column="operation" type="java.lang.Integer"
	 */

	public int getOperation() {
		return operation;
	}

	public void setOperation(int operation) {
		this.operation = operation;
	}

	/**
	 * @return return the idno
	 * @hibernate.id column="idno" generator-class="native"
	 */
	public int getExId() {
		return exId;
	}

	public void setExId(int exId) {
		this.exId = exId;
	}

	/**
	 * 
	 * @return
	 * @hibernate.property column="modifytime" type="timestamp"
	 */
	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

}
